; Music of Bunny Bricks (1992) (Silmarils)
; Ripped by Megachur the 14/02/2007

	write "BUNNYBRI.BIN"

music_date_rip	equ &0d27
music_adr	equ &006a
first_theme	equ 0
last_theme	equ 0

	read "music_header_v1_0.asm"

; revoir loading music theme ?
	
;
.init_music
;
	call l0097
	ld a,#07
	ld c,#38
	call l0140
	ld a,#08
	ld c,#0c
	call l0140
	ld a,#09
	ld c,#0c
	call l0140
	ld a,#0a
	ld c,#10
	call l0140
	ld a,#01
	ld (l09f1),a
	ret
;
.stop_music
.l008f
;
	xor a
	ld (l09f1),a
	call l0097
	ret
.l0097
	ld b,#0e
.l0099
	push bc
	dec b
	ld a,b
	ld c,#00
	call l0140
	pop bc
	djnz l0099
	ld c,#3f
	ld a,#07
	call l013a
	ret

	xor a
	ld (l09f1),a
	ld a,#0a
	ld c,#00
	call l013a
	ld a,#07
	ld c,#3f
	call l013a
	ld bc,(l0a04)
	sla c
	sla c
	sla c
	sla c
	ld hl,l0a06
	add hl,bc
	ld a,(hl)
	ld e,a
	inc hl
	ld a,(hl)
	ld d,a
	inc hl
	ld a,(l09fd)
	cp #00
	jp z,l00e5
	ld bc,(l09fc)
	ld a,e
	cp c
	jp c,l0139
.l00e5
	ld a,d
	ld (l09fd),a
	ld a,e
	ld (l09fc),a
	ld b,#0e
.l00ef
	push bc
	ld c,(hl)
	dec b
	ld a,b
	cp #0a
	jp z,l0135
	cp #09
	jp z,l0135
	cp #05
	jp z,l0135
	cp #03
	jp z,l0135
	cp #02
	jp z,l0135
	di
	ld b,#f4
	out (c),a
	cp #07
	jp nz,l011b
	ld a,(l0a03)
	and c
	ld c,a
.l011b
	ld b,#f6
	in a,(c)
	or #c0
	out (c),a
	and #3f
	out (c),a
	ld b,#f4
	out (c),c
	ld b,#f6
	ld c,a
	or #80
	out (c),a
	out (c),c
	ei
.l0135
	inc hl
	pop bc
	djnz l00ef
.l0139
	ret
.l013a
	di
	call l0140
	ei
	ret
.l0140
	ld b,#f4
	out (c),a
	ld b,#f6
	in a,(c)
	or #c0
	out (c),a
	and #3f
	out (c),a
	ld b,#f4
	out (c),c
	ld b,#f6
	ld c,a
	or #80
	out (c),a
	out (c),c
	ret
;
.real_play_music
;
	ld a,(l09f2)
	dec a
	ld (l09f2),a
	jp z,l0177
	cp #0e
	jp nz,l01b3
	ld c,#00
	ld a,#08
	call l0140
	jp l01b3
.l0177
	ld hl,(l09f5)
	ld a,(hl)
	cp #ff
	jp nz,l019e
	ld hl,l0c67
	ld (l09f9),hl
	ld hl,l0b03
	ld (l09f7),hl
	ld hl,l0a8e
	ld (l09f5),hl
	ld a,#01
	ld (l09f2),a
	ld (l09f3),a
	ld (l09f4),a
	ret
.l019e
	xor a
	ld c,(hl)
	call l0140
	inc hl
	ld a,(hl)
	ld (l09f2),a
	inc hl
	ld (l09f5),hl
	ld a,#08
	ld c,#0d
	call l0140
.l01b3
	ld a,(l09f3)
	dec a
	ld (l09f3),a
	jp z,l01cb
	cp #10
	jp nc,l01f5
	ld c,a
	ld a,#09
	call l0140
	jp l01f5
.l01cb
	ld hl,(l09f7)
	ld a,(hl)
	cp #ff
	jp nz,l01d7
	ld hl,l0b03
.l01d7
	ld a,#02
	ld c,(hl)
	call l0140
	inc hl
	ld a,#03
	ld c,(hl)
	call l0140
	inc hl
	ld a,(hl)
	ld (l09f3),a
	inc hl
	inc hl
	ld (l09f7),hl
	ld a,#09
	ld c,#0c
	call l0140
.l01f5
	ld a,(l09f4)
	dec a
	ld (l09f4),a
	ret nz
	ld hl,(l09f9)
	ld a,(hl)
	cp #ff
	jp nz,l0209
	ld hl,l0c67
.l0209
	ld a,#04
	ld c,(hl)
	call l0140
	inc hl
	ld a,(hl)
	ld (l09f4),a
	inc hl
	ld c,(hl)
	inc hl
	ld (l09f9),hl
	ld hl,l0a76
	sla c
	sla c
	ld b,#00
	add hl,bc
	ld a,#05
	ld c,(hl)
	call l0140
	inc hl
	ld a,#07
	ld c,(hl)
	call l0140
	inc hl
	ld a,#06
	ld c,(hl)
	call l0140
	inc hl
	ld a,#0c
	ld c,(hl)
	call l0140
	ld a,#0d
	ld c,#09
	call l0140
	ret
	ld b,#f5
.l0249
	in a,(c)
	rra
	jr nc,l0249
	ret
	ld b,#f5
.l0251
	in a,(c)
	rra
	jr c,l0251
	ret
	ld hl,#0000
.l025a
	srl b
	rr c
	jr nc,l0261
	add hl,de
.l0261
	ld a,b
	or c
	jr z,l026b
	sla e
	rl d
	jr l025a
.l026b
	ret
	push bc
	ex de,hl
	ld b,#01
	ld a,h
	or a
	jr nz,l027d
	ld a,d
	cp l
	jr c,l027d
	ld h,l
	ld l,#00
	ld b,#09
.l027d
	ld a,e
	sub l
	ld a,d
	sbc h
	jr c,l0288
	inc b
	add hl,hl
	jr nc,l027d
	ccf
.l0288
	ccf
	ld a,b
	ld b,h
	ld c,l
	ld hl,#0000
	dec a
	jr nz,l0295
	jr l02ab
.l0294
	add hl,hl
.l0295
	push af
	ld a,b
	rra
	ld b,a
	ld a,c
	rra
	ld c,a
	ld a,e
	sub c
	ld a,d
	sbc b
	jr c,l02a7
	ld d,a
	ld a,e
	sub c
	ld e,a
	inc l
.l02a7
	pop af
	dec a
	jr nz,l0294
.l02ab
	scf
	pop bc
	ret
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00
.l034f
	ld hl,#3877
	ld b,a
	or a
	jr z,l035c
	ld de,#0009
.l0359
	add hl,de
	djnz l0359
.l035c
	ld de,#4000
	ld b,#09
	push de
	call #bc77
	pop hl
	call #bc83
	jp #bc7a
.l036c
	ld hl,l0379
	ld de,#ac00
	push de
	ld bc,#0030
	ldir
	ret
.l0379
	ld bc,#7f88
	out (c),c
	exx
	xor a
	ex af,af'
	call #0044
	call l08bd
	call #bb00
	call #b909
	ld c,#07
	ld de,#0040
	ld hl,#b0ff
	call #bcce
	ld a,#00
	ld (#ac00),a
	ret
; loading music ?
	push af
	call l008f
	pop af
	di
	ld hl,#0000
	ld de,l0600
	ld bc,#0040
	push bc
	push de
	push hl
	push af
	ldir
	call l036c
	pop af
	call l034f
	di
	pop de
	pop hl
	pop bc
	ldir
	ret
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	ld hl,#4000
	ld de,#8000
	ld a,#bc
	ld (l0583),a
	di
	exx
	push bc
	exx
	push de
	ld de,l05fd
	ldi
	ldi
	ldi
	ld de,#7c00
	ld a,(l05fd)
	ld b,#00
	ld c,a
	ldir
	inc d
	inc d
	ld e,#00
	ld c,a
	ldir
	ld de,#7d00
	call l05d6
	inc d
	inc d
	call l05d6
	exx
	pop de
	ld a,(l05fe)
	ld c,a
	ld a,(l05ff)
	or a
	jr nz,l056e
	ld (l0583),a
.l056e
	ld h,a
	exx
	push hl
	pop ix
	ld a,(l05fd)
	dec a
	ld c,a
	ld b,#01
	exx
.l057b
	exx
	call l05b8
	exx
	cp c
	jr z,l058f
.l0583
	cp h
	jr z,l05a8
	ld (de),a
	inc de
	jr l057b
.l058a
	ld a,c
	ld (de),a
	inc de
	jr l057b
.l058f
	exx
	call l05b8
	exx
	or a
	jr z,l058a
	cp #01
	jr z,l05b5
	inc a
	ld b,a
	exx
	call l05b8
	exx
.l05a2
	ld (de),a
	inc de
	djnz l05a2
	jr l057b
.l05a8
	exx
	call l05b8
	exx
	ld b,#03
.l05af
	ld (de),a
	inc de
	djnz l05af
	jr l057b
.l05b5
	pop bc
	exx
	ret
.l05b8
	ld e,c
.l05b9
	djnz l05c7
	ld l,(ix+#00)
	ld h,(ix+#01)
	inc ix
	inc ix
	ld b,#10
.l05c7
	add hl,hl
	ld d,#7d
	jr nc,l05ce
	ld d,#7f
.l05ce
	ld a,(de)
	dec d
	rra
	ld a,(de)
	ret c
	ld e,a
	jr l05b9
.l05d6
	ex de,hl
.l05d7
	ld a,(de)
	inc de
	add a
	rl (hl)
	inc l
	add a
	rl (hl)
	inc l
	add a
	rl (hl)
	inc l
	add a
	rl (hl)
	inc l
	add a
	rl (hl)
	inc l
	add a
	rl (hl)
	inc l
	add a
	rl (hl)
	inc l
	add a
	rl (hl)
	inc l
	jr nz,l05d7
	ex de,hl
	ret
.l0600 equ $ + 3
.l05ff equ $ + 2
.l05fe equ $ + 1
.l05fd
	db #80,#0a,#05,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#ff,#aa,#55,#00
	db #aa,#aa,#00,#00,#55,#00,#55,#00
	db #00,#00,#00,#00,#aa,#aa,#00,#00
	db #aa,#aa,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#55,#00,#55,#00
	db #00,#00,#00,#00,#55,#00,#55,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#aa,#aa,#00,#00
	db #aa,#aa,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#aa,#aa,#00,#00
	db #aa,#aa,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#55,#00,#55,#00
	db #00,#00,#00,#00,#55,#00,#55,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#55,#00,#55,#00
	db #00,#00,#00,#00,#55,#00,#55,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#02,#01,#03
	db #08,#0a,#09,#0b,#04,#06,#05,#07
	db #0c,#0e,#0d,#0f,#20,#22,#21,#23
	db #28,#2a,#29,#2b,#24,#26,#25,#27
	db #2c,#2e,#2d,#2f,#10,#12,#11,#13
	db #18,#1a,#19,#1b,#14,#16,#15,#17
	db #1c,#1e,#1d,#1f,#30,#32,#31,#33
	db #38,#3a,#39,#3b,#34,#36,#35,#37
	db #3c,#3e,#3d,#3f,#80,#82,#81,#83
	db #88,#8a,#89,#8b,#84,#86,#85,#87
	db #8c,#8e,#8d,#8f,#a0,#a2,#a1,#a3
	db #a8,#aa,#a9,#ab,#a4,#a6,#a5,#a7
	db #ac,#ae,#ad,#af,#90,#92,#91,#93
	db #98,#9a,#99,#9b,#94,#96,#95,#97
	db #9c,#9e,#9d,#9f,#b0,#b2,#b1,#b3
	db #b8,#ba,#b9,#bb,#b4,#b6,#b5,#b7
	db #bc,#be,#bd,#bf,#40,#42,#41,#43
	db #48,#4a,#49,#4b,#44,#46,#45,#47
	db #4c,#4e,#4d,#4f,#60,#62,#61,#63
	db #68,#6a,#69,#6b,#64,#66,#65,#67
	db #6c,#6e,#6d,#6f,#50,#52,#51,#53
	db #58,#5a,#59,#5b,#54,#56,#55,#57
	db #5c,#5e,#5d,#5f,#70,#72,#71,#73
	db #78,#7a,#79,#7b,#74,#76,#75,#77
	db #7c,#7e,#7d,#7f,#c0,#c2,#c1,#c3
	db #c8,#ca,#c9,#cb,#c4,#c6,#c5,#c7
	db #cc,#ce,#cd,#cf,#e0,#e2,#e1,#e3
	db #e8,#ea,#e9,#eb,#e4,#e6,#e5,#e7
	db #ec,#ee,#ed,#ef,#d0,#d2,#d1,#d3
	db #d8,#da,#d9,#db,#d4,#d6,#d5,#d7
	db #dc,#de,#dd,#df,#f0,#f2,#f1,#f3
	db #f8,#fa,#f9,#fb,#f4,#f6,#f5,#f7
	db #fc,#fe,#fd,#ff,#00,#00,#00,#08
	db #00,#10,#00,#18,#00,#20,#00,#28
	db #00,#30,#00,#38,#50,#00,#50,#08
	db #50,#10,#50,#18,#50,#20,#50,#28
	db #50,#30,#50,#38,#a0,#00,#a0,#08
	db #a0,#10,#a0,#18,#a0,#20,#a0,#28
	db #a0,#30,#a0,#38,#f0,#00,#f0,#08
	db #f0,#10,#f0,#18,#f0,#20,#f0,#28
	db #f0,#30,#f0,#38,#40,#01,#40,#09
	db #40,#11,#40,#19,#40,#21,#40,#29
	db #40,#31,#40,#39,#90,#01,#90,#09
	db #90,#11,#90,#19,#90,#21,#90,#29
.l08bd
	db #90,#31,#90,#39,#e0,#01,#e0,#09
	db #e0,#11,#e0,#19,#e0,#21,#e0,#29
	db #e0,#31,#e0,#39,#30,#02,#30,#0a
	db #30,#12,#30,#1a,#30,#22,#30,#2a
	db #30,#32,#30,#3a,#80,#02,#80,#0a
	db #80,#12,#80,#1a,#80,#22,#80,#2a
	db #80,#32,#80,#3a,#d0,#02,#d0,#0a
	db #d0,#12,#d0,#1a,#d0,#22,#d0,#2a
	db #d0,#32,#d0,#3a,#20,#03,#20,#0b
	db #20,#13,#20,#1b,#20,#23,#20,#2b
	db #20,#33,#20,#3b,#70,#03,#70,#0b
	db #70,#13,#70,#1b,#70,#23,#70,#2b
	db #70,#33,#70,#3b,#c0,#03,#c0,#0b
	db #c0,#13,#c0,#1b,#c0,#23,#c0,#2b
	db #c0,#33,#c0,#3b,#10,#04,#10,#0c
	db #10,#14,#10,#1c,#10,#24,#10,#2c
	db #10,#34,#10,#3c,#60,#04,#60,#0c
	db #60,#14,#60,#1c,#60,#24,#60,#2c
	db #60,#34,#60,#3c,#b0,#04,#b0,#0c
	db #b0,#14,#b0,#1c,#b0,#24,#b0,#2c
	db #b0,#34,#b0,#3c,#00,#05,#00,#0d
	db #00,#15,#00,#1d,#00,#25,#00,#2d
	db #00,#35,#00,#3d,#50,#05,#50,#0d
	db #50,#15,#50,#1d,#50,#25,#50,#2d
	db #50,#35,#50,#3d,#a0,#05,#a0,#0d
	db #a0,#15,#a0,#1d,#a0,#25,#a0,#2d
	db #a0,#35,#a0,#3d,#f0,#05,#f0,#0d
	db #f0,#15,#f0,#1d,#f0,#25,#f0,#2d
	db #f0,#35,#f0,#3d,#40,#06,#40,#0e
	db #40,#16,#40,#1e,#40,#26,#40,#2e
	db #40,#36,#40,#3e,#90,#06,#90,#0e
	db #90,#16,#90,#1e,#90,#26,#90,#2e
	db #90,#36,#90,#3e,#e0,#06,#e0,#0e
	db #e0,#16,#e0,#1e,#e0,#26,#e0,#2e
	db #e0,#36,#e0,#3e,#30,#07,#30,#0f
	db #30,#17,#30,#1f,#30,#27,#30,#2f
	db #30,#37,#30,#3f,#80,#07,#80,#0f
	db #80,#17,#80,#1f,#80,#27,#80,#2f
.l09f4 equ $ + 7
.l09f3 equ $ + 6
.l09f2 equ $ + 5
.music_end equ $ + 4
.l09f1 equ $ + 4
	db #80,#37,#80,#3f,#00,#01,#01,#01
.l09fc equ $ + 7
.l09f9 equ $ + 4
.l09f7 equ $ + 2
.l09f5
	db #8e,#0a,#03,#0b,#67,#0c,#ff,#00
.l0a04 equ $ + 7
.l0a03 equ $ + 6
.l09fd
	db #00,#00,#00,#00,#00,#00,#1d,#00
.l0a06 equ $ + 1
	db #00,#00,#01,#09,#0a,#00,#00,#00
	db #10,#1c,#00,#00,#00,#00,#00,#00
	db #80,#00,#01,#09,#0a,#00,#00,#00
	db #10,#1c,#00,#00,#00,#00,#00,#03
	db #00,#00,#02,#09,#0f,#00,#00,#00
	db #10,#1c,#00,#00,#00,#00,#00,#05
	db #00,#00,#0f,#0e,#01,#00,#00,#00
	db #10,#1c,#00,#00,#00,#00,#00,#01
	db #00,#00,#1a,#09,#1e,#00,#00,#00
	db #10,#15,#2d,#00,#00,#00,#00,#00
	db #00,#00,#09,#00,#32,#00,#00,#00
	db #10,#1c,#00,#00,#00,#00,#00,#01
	db #50,#00,#1a,#09,#1e,#00,#00,#00
	db #10,#15,#02,#00,#00,#00,#00,#00
.l0a76 equ $ + 1
	db #00,#04,#18,#14,#04,#02,#38,#00
	db #06,#01,#38,#00,#06,#00,#1c,#00
	db #01,#00,#1c,#00,#0c,#00,#1c,#19
.l0a8e equ $ + 1
	db #02,#77,#3f,#96,#3f,#9f,#3f,#b3
	db #bd,#00,#7e,#96,#3f,#9f,#3f,#b3
	db #3f,#e1,#bd,#00,#7e,#96,#3f,#9f
	db #3f,#b3,#3f,#e1,#bd,#00,#7e,#00
	db #7e,#00,#3f,#64,#3f,#00,#3f,#64
	db #3f,#6c,#3f,#77,#15,#00,#15,#00
	db #3f,#ef,#3f,#ef,#3f,#96,#3f,#96
	db #3f,#e1,#3f,#86,#7e,#59,#3f,#71
	db #3f,#77,#3f,#86,#bd,#00,#7e,#71
	db #3f,#77,#3f,#86,#3f,#a9,#bd,#00
	db #7e,#71,#3f,#77,#3f,#86,#3f,#8e
	db #bd,#00,#7e,#00,#7e,#00,#7e,#00
	db #7e,#00,#7e,#00,#7e,#00,#7e,#00
	db #7e,#00,#7e,#ff,#00,#00,#00,#00
.l0b03 equ $ + 6
	db #00,#00,#00,#00,#00,#00,#ef,#00
	db #3f,#00,#de,#01,#3f,#00,#3f,#01
	db #3f,#00,#2d,#01,#7e,#00,#5a,#02
	db #3f,#00,#0c,#01,#3f,#00,#18,#02
	db #3f,#00,#ef,#00,#3f,#00,#de,#01
	db #3f,#00,#3f,#01,#3f,#00,#2d,#01
	db #7e,#00,#5a,#02,#3f,#00,#0c,#01
	db #3f,#00,#18,#02,#3f,#00,#ef,#00
	db #3f,#00,#de,#01,#3f,#00,#3f,#01
	db #3f,#00,#2d,#01,#7e,#00,#5a,#02
	db #3f,#00,#0c,#01,#3f,#00,#18,#02
	db #3f,#00,#ef,#00,#3f,#00,#de,#01
	db #3f,#00,#3f,#01,#3f,#00,#2d,#01
	db #7e,#00,#5a,#02,#3f,#00,#0c,#01
	db #3f,#00,#18,#02,#3f,#00,#ef,#00
	db #3f,#00,#de,#01,#3f,#00,#3f,#01
	db #3f,#00,#2d,#01,#7e,#00,#5a,#02
	db #3f,#00,#0c,#01,#3f,#00,#18,#02
	db #3f,#00,#00,#00,#3f,#00,#c3,#01
	db #3f,#00,#e1,#00,#3f,#00,#00,#00
	db #3f,#00,#92,#01,#3f,#00,#c9,#00
	db #3f,#00,#00,#00,#3f,#00,#b3,#00
	db #3f,#00,#66,#01,#3f,#00,#b3,#00
	db #3f,#00,#ef,#00,#3f,#00,#e1,#00
	db #7e,#00,#c3,#01,#3f,#00,#c9,#00
	db #3f,#00,#52,#01,#3f,#00,#66,#01
	db #3f,#00,#b3,#00,#3f,#00,#ef,#00
	db #3f,#00,#e1,#00,#7e,#00,#c3,#01
	db #3f,#00,#c9,#00,#3f,#00,#52,#01
	db #3f,#00,#66,#01,#3f,#00,#b3,#00
	db #3f,#00,#ef,#00,#3f,#00,#e1,#00
	db #7e,#00,#c3,#01,#3f,#00,#c9,#00
	db #3f,#00,#52,#01,#3f,#00,#66,#01
	db #3f,#00,#b3,#00,#3f,#00,#ef,#00
	db #3f,#00,#e1,#00,#7e,#00,#c3,#01
	db #3f,#00,#c9,#00,#3f,#00,#52,#01
	db #3f,#00,#66,#01,#3f,#00,#b3,#00
	db #3f,#00,#ef,#00,#3f,#00,#e1,#00
	db #7e,#00,#c3,#01,#3f,#00,#c9,#00
	db #3f,#00,#52,#01,#3f,#00,#b3,#00
	db #3f,#00,#66,#01,#3f,#00,#00,#00
	db #3f,#00,#00,#00,#3f,#00,#c9,#00
	db #3f,#00,#92,#01,#3f,#00,#e1,#00
	db #3f,#00,#c3,#01,#3f,#00,#ff,#ff
	db #00,#00,#00,#00,#00,#00,#00,#00
.l0c67 equ $ + 2
	db #00,#00,#47,#3f,#00,#27,#3f,#03
	db #3f,#3f,#05,#3f,#3f,#05,#47,#3f
	db #00,#27,#3f,#03,#3f,#3f,#05,#27
	db #3f,#03,#47,#3f,#00,#27,#3f,#03
	db #3f,#3f,#05,#3f,#3f,#05,#47,#3f
	db #00,#27,#3f,#03,#3f,#3f,#05,#27
	db #3f,#03,#47,#3f,#00,#27,#3f,#03
	db #3f,#3f,#05,#3f,#3f,#05,#47,#3f
	db #00,#27,#3f,#03,#3f,#3f,#05,#27
	db #3f,#03,#47,#3f,#00,#27,#3f,#03
	db #3f,#3f,#05,#3f,#3f,#05,#47,#3f
	db #00,#27,#3f,#03,#3f,#3f,#05,#27
	db #3f,#03,#47,#3f,#00,#27,#3f,#03
	db #1d,#3f,#05,#1d,#3f,#05,#47,#3f
	db #00,#27,#3f,#03,#3f,#3f,#05,#27
	db #3f,#03,#47,#3f,#05,#6a,#3f,#00
	db #59,#3f,#00,#47,#3f,#05,#59,#3f
	db #00,#6a,#3f,#00,#47,#3f,#05,#47
	db #3f,#05,#ff,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00

;
.play_music	; added by Megachur
;
	call real_play_music
	call real_play_music
	call real_play_music
	call real_play_music
	call real_play_music
	jp real_play_music
;

;.l0038
	;org #0fde
;	di
;	ld a,(#09f1)
;	cp #01
;	call z,play_music
;	ei
;	ret
;	
.game_name
	db "Bunny Bricks",0
.game_year
	db "1992",0
.game_publisher
	db "Silmarils",0
.music_author
	db "",0
.music_comment
	db "",0

	read "music_end_v1_0.asm"
